package cn.itsource.hrm.mapper;

import cn.itsource.hrm.domain.Tenant;
import cn.itsource.hrm.query.TenantQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jinhui
 * @since 2020-05-27
 */
public interface TenantMapper extends BaseMapper<Tenant> {
IPage<Tenant> selectPage(Page<Tenant> page, @Param("query") TenantQuery query);
}
